home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / include / site.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-25  |  2.9 KB  |  78 lines

  1. /************************************************************
  2. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  3. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  4.  
  5.                         All Rights Reserved
  6.  
  7. Permission to use, copy, modify, and distribute this software and its 
  8. documentation for any purpose and without fee is hereby granted, 
  9. provided that the above copyright notice appear in all copies and that
  10. both that copyright notice and this permission notice appear in 
  11. supporting documentation, and that the names of Digital or MIT not be
  12. used in advertising or publicity pertaining to distribution of the
  13. software without specific, written prior permission.  
  14.  
  15. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  16. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  17. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  18. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  19. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  20. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  21. SOFTWARE.
  22.  
  23. ********************************************************/
  24.  
  25. #ifndef SITE_H
  26. #define SITE_H
  27. /*
  28.  * The following constants are provided solely as a last line of defense.  The
  29.  * normal build ALWAYS overrides them using a special rule given in
  30.  * server/dix/Imakefile.  If you want to change either of these constants, 
  31.  * you should set the DefaultFontPath or DefaultRGBDatabase configuration 
  32.  * parameters in util/imake.includes/site.def or util/imake.includes/*.macros.
  33.  * DO NOT CHANGE THESE VALUES OR THE DIX IMAKEFILE!
  34.  */
  35. #ifndef COMPILEDDEFAULTFONTPATH
  36. #define COMPILEDDEFAULTFONTPATH    "/usr/lib/X11/fonts/misc/"
  37. #endif
  38. #ifndef RGB_DB
  39. #define RGB_DB            "/usr/lib/X11/rgb"
  40. #endif
  41.  
  42. /*
  43.  * The following constants contain default values for all of the variables 
  44.  * that can be initialized on the server command line or in the environment.
  45.  */
  46. #define COMPILEDDEFAULTFONT    "fixed"
  47. #define COMPILEDCURSORFONT    "cursor"
  48. #define COMPILEDDISPLAYCLASS    "MIT-unspecified"
  49. #define DEFAULT_TIMEOUT        60    /* seconds */
  50. #define DEFAULT_KEYBOARD_CLICK     0
  51. #define DEFAULT_BELL        50
  52. #define DEFAULT_BELL_PITCH    400
  53. #define DEFAULT_BELL_DURATION    100
  54. #define DEFAULT_AUTOREPEAT    TRUE
  55. #define DEFAULT_AUTOREPEATS    {\
  56.     0, 0, 0, 0, 0, 0, 0, 0,\
  57.     0, 0, 0, 0, 0, 0, 0, 0,\
  58.     0, 0, 0, 0, 0, 0, 0, 0,\
  59.     0, 0, 0, 0, 0, 0, 0, 0 }
  60. #define DEFAULT_LEDS        0x0        /* all off */
  61.  
  62. #define DEFAULT_PTR_NUMERATOR    2
  63. #define DEFAULT_PTR_DENOMINATOR    1
  64. #define DEFAULT_PTR_THRESHOLD    4
  65.  
  66. #define DEFAULT_SCREEN_SAVER_TIME (10 * (60 * 1000))
  67. #define DEFAULT_SCREEN_SAVER_INTERVAL (10 * (60 * 1000))
  68. #define DEFAULT_SCREEN_SAVER_BLANKING PreferBlanking
  69. #define DEFAULT_SCREEN_SAVER_EXPOSURES AllowExposures
  70. #ifndef NOLOGOHACK
  71. #define DEFAULT_LOGO_SCREEN_SAVER 1
  72. #endif
  73. #ifndef DEFAULT_ACCESS_CONTROL
  74. #define DEFAULT_ACCESS_CONTROL TRUE
  75. #endif
  76.  
  77. #endif /* SITE_H */
  78.